import React from 'react';
import { Layout } from 'antd';
import { Routes, Route } from 'react-router-dom';
import AppHeader from './components/AppHeader';
import Products from './pages/Products';
import Orders from './pages/Orders';
const { Content } = Layout;
function App() {
	return (
		<Layout>
			<AppHeader />
			<Content>
				<Routes>
					<Route path="/" element={<Products />} />
					<Route path="/orders" element={<Orders />} />
				</Routes>

			</Content>
		</Layout>
	);
}

export default App;
